:host {
  margin-top: 12px;
  padding: 8px 0;
}

mat-slide-toggle {
  width: 100%;

  ::ng-deep .mdc-form-field {
    flex-direction: row-reverse;
    justify-content: space-between;
    width: 100%;
  }
}

.container-items {
  border: 1px solid var(--lines);
  box-sizing: border-box;
  overflow-y: auto;

  .mat-mdc-list {
    width: 100%;
  }
}

.mat-mdc-list-item {
  cursor: move;
  padding-left: 0;

  .toggle-label {
    align-items: center;
    cursor: move;
    display: flex;
    gap: 2px;
  }
}

.cdk-drag-preview {
  background: var(--bg2);
  border: none !important;
  border-radius: 4px;
  box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2),
    0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
  color: var(--fg2);
}

.cdk-drag-placeholder {
  background: rgba(var(--fg1), 0.1);
  opacity: 0.5;
  outline: 1.5px dashed var(--fg1);
  outline-offset: -1px;
}

.cdk-drag-animating {
  transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
}
